import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
// https://vitejs.dev/config/
export default defineConfig({
    plugins: [vue(), vueJsx()],
    server: {
        port: 7070,
        // host: "0.0.0.0"
        proxy: {
            '/api': {
                target: "http://localhost:8080",
                changeOrigin: true
            }

        }
    }
})
